<?php
class UserListAction extends Action{
	
	public function main(){
		$obj = new  UserInfoDAO();
		$selected = new Selected();
		$ret = $obj->getList();
		//debug($ret);
		for ($i=0; $i < count($ret); $i++) { 
			$ret[$i]['UserEnable'] = $selected->getVal("UserEnable",$ret[$i]['UserEnable']);
			$ret[$i]['UserType'] = $selected->getVal("UserType",$ret[$i]['UserType']);
		}
		$this->_response['ret'] = $ret;
		//debug($this->_response['ret']);
	}

}